home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / lfsrecov / usage.h < prev   
Encoding:
C/C++ Source or Header  |  1991-06-16  |  1.2 KB  |  45 lines

  1. /*
  2.  * usage.h --
  3.  *
  4.  *    Declarations of the interface the the seg usage mantipulation
  5.  *    routines in usage.c
  6.  *
  7.  * Copyright 1991 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that this copyright
  11.  * notice appears in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/lib/forms/RCS/proto.h,v 1.7 91/02/09 13:24:52 ouster Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _USAGE
  20. #define _USAGE
  21.  
  22. /* constants */
  23.  
  24. /* data structures */
  25.  
  26. /* procedures */
  27.  
  28. extern void MarkSegDirty _ARGS_((int segNumber));
  29.  
  30.  
  31. extern void RecordSegInLog _ARGS_((int segNo, int blockOffset));
  32.  
  33. extern Boolean AddrOlderThan _ARGS_((int addr1, int addr2));
  34.  
  35. extern Boolean SegIsPartOfLog _ARGS_((int segNo));
  36.  
  37. extern void  RecovSegUsageSummary _ARGS_((Lfs *lfsPtr, enum Pass pass,
  38.     LfsSeg *segPtr, int startAddress, int offset, 
  39.     LfsSegSummaryHdr *segSummaryHdrPtr));
  40.  
  41. extern void RollSegUsageForward _ARGS_((Lfs *lfsPtr));
  42.  
  43. #endif /* _USAGE */
  44.  
  45.